/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.fzhucc.modules.activity.domain.dto;

import com.fzhucc.modules.activity.domain.Activity;
import com.fzhucc.modules.system.service.dto.UserDto;
import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;

/**
* @website https://eladmin.vip
* @description /
* @author yyg
* @date 2022-11-17
**/
@Data
public class ActivityUsersDto implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("活动id")
    private Integer activityId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty(value = "参会类型;分割")
    private String chType;

    @ApiModelProperty(value = "参会类型数组")
    private String[] chTypes;

    @ApiModelProperty("报名时间")
    private Timestamp signTime;

    @ApiModelProperty("审核状态")
    private String auditStatus;

    @ApiModelProperty("登录用户报名者")
    private UserDto user;

    @ApiModelProperty("报名人员姓名")
    private String name;

    @ApiModelProperty("所属单位/团队")
    private String unit;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("活动")
    private Activity activity;

    @ApiModelProperty("区域划分")
    private String orgArea;
}